package com.example.demo.demo;

import java.util.HashSet;

/**
 * @Project spring-demo
 * @Description StringToInt
 * @Author xiaole
 * @Date 2021/6/10 16:46
 */
public class StringToInt {
    public static void main(String args[]) {
//String with negative sign

        String str = "00";
        String str1 = "02";

        System.out.println(Integer.parseInt(str));
        System.out.println(Integer.parseInt(str1));
        System.out.println(Integer.parseInt(str1) > Integer.parseInt(str));




    }
}
